﻿<?php use_helper('Form') ?>

<div>
	Actions:
	<ul>
	
		<li>Determine a scale type by its notes:
			
			<?php echo form_tag('@scale_determine') ?>
				
				<?php echo input_tag('notes') ?>
				<?php echo submit_tag('GO') ?>
				
			</form>
			
		</li>
		
		<li>
			Compose a scale:
			
			<?php echo form_tag('@scale_compose') ?>
				
				<?php echo select_tag(
					'tonic',
					options_for_select(ZeninoHelper::notesForOptions())
				); ?>
				
				<select name="alt">
					<option value=""><?php echo ZeninoHelper::accidentalToHtml('n') ?></option>
					<option value="#"><?php echo ZeninoHelper::accidentalToHtml('#') ?></option>
					<option value="b"><?php echo ZeninoHelper::accidentalToHtml('b') ?></option>
				</select>
				
				<select name="mode">
					<?php echo ZeninoHelper::modesForOptions() ?>
				</select>
				<?php echo submit_tag('GO') ?>
				
			</form>
			
		<li>
		
	</ul>

</div>